<?php 
    class Base_Controller extends CI_Controller {
        public function __construct() {
            parent::__construct();
            $this->session->set_userdata(array('user_level'=>'user'));
        }
        protected $view_data = array();
    }
?>
